﻿using System.Collections.Generic;

namespace Satellite_Calculation
{
    /// <summary>
    /// 报文
    /// </summary>
    public class Report
    {
        public Report()
        {

        }

        public Report(List<decimal> parameters)
        {
            Toc = parameters[0];
            Toe = parameters[1];
            T1 = parameters[2];
            A0 = parameters[3];
            A1 = parameters[4];
            A2 = parameters[5];
            Sqrta = parameters[6];
            E = parameters[7];
            I0 = parameters[8];
            Ohm0 = parameters[9];
            Omega = parameters[10];
            M0 = parameters[11];
            dI_dT = parameters[12];
            Ohm_dot = parameters[13];
            delta_N = parameters[14];
            Cuc = parameters[15];
            Cus = parameters[16];
            Cic = parameters[17];
            Cis = parameters[18];
            Crc = parameters[19];
            Crs = parameters[20];
        }

        public Report(List<double> parameters)
        {
            Toc = (decimal)parameters[0];
            Toe = (decimal)parameters[1];
            T1 = (decimal)parameters[2];
            A0 = (decimal)parameters[3];
            A1 = (decimal)parameters[4];
            A2 = (decimal)parameters[5];
            Sqrta = (decimal)parameters[6];
            E = (decimal)parameters[7];
            I0 = (decimal)parameters[8];
            Ohm0 = (decimal)parameters[9];
            Omega = (decimal)parameters[10];
            M0 = (decimal)parameters[11];
            dI_dT = (decimal)parameters[12];
            Ohm_dot = (decimal)parameters[13];
            delta_N = (decimal)parameters[14];
            Cuc = (decimal)parameters[15];
            Cus = (decimal)parameters[16];
            Cic = (decimal)parameters[17];
            Cis = (decimal)parameters[18];
            Crc = (decimal)parameters[19];
            Crs = (decimal)parameters[20];
        }

        private decimal toc;

        public decimal Toc
        {
            get { return toc; }
            set { toc = value; }
        }

        private decimal toe;

        public decimal Toe
        {
            get { return toe; }
            set { toe = value; }
        }

        private decimal t1;

        public decimal T1
        {
            get { return t1; }
            set { t1 = value; }
        }

        private decimal a0;

        public decimal A0
        {
            get { return a0; }
            set { a0 = value; }
        }

        private decimal a1;

        public decimal A1
        {
            get { return a1; }
            set { a1 = value; }
        }

        private decimal a2;

        public decimal A2
        {
            get { return a2; }
            set { a2 = value; }
        }

        private decimal sqrta;

        public decimal Sqrta
        {
            get { return sqrta; }
            set { sqrta = value; }
        }

        private decimal e;

        public decimal E
        {
            get { return e; }
            set { e = value; }
        }

        private decimal i0;

        public decimal I0
        {
            get { return i0; }
            set { i0 = value; }
        }

        private decimal ohm0;

        public decimal Ohm0
        {
            get { return ohm0; }
            set { ohm0 = value; }
        }

        private decimal omega;

        public decimal Omega
        {
            get { return omega; }
            set { omega = value; }
        }

        private decimal m0;

        public decimal M0
        {
            get { return m0; }
            set { m0 = value; }
        }

        private decimal di_dt;

        public decimal dI_dT
        {
            get { return di_dt; }
            set { di_dt = value; }
        }

        private decimal ohm_dot;

        public decimal Ohm_dot
        {
            get { return ohm_dot; }
            set { ohm_dot = value; }
        }

        private decimal delta_n;

        public decimal delta_N
        {
            get { return delta_n; }
            set { delta_n = value; }
        }

        private decimal cuc;

        public decimal Cuc
        {
            get { return cuc; }
            set { cuc = value; }
        }

        private decimal cus;

        public decimal Cus
        {
            get { return cus; }
            set { cus = value; }
        }

        private decimal crc;

        public decimal Crc
        {
            get { return crc; }
            set { crc = value; }
        }

        private decimal crs;

        public decimal Crs
        {
            get { return crs; }
            set { crs = value; }
        }

        private decimal cic;

        public decimal Cic
        {
            get { return cic; }
            set { cic = value; }
        }

        private decimal cis;

        public decimal Cis
        {
            get { return cis; }
            set { cis = value; }
        }

    }
}
